package com.redwolfsoft.libshoppingserver.shoppingcenter;

import net.sf.json.JSONObject;


public class ShoppingCenterPromotionInfo {

	public String displayName = null;

	public ShoppingCenterPromotionInfo(String name) {
		this.displayName = name;
	}

	public ShoppingCenterPromotionInfo(JSONObject obj)
	{
		if(obj==null)
		{
		//	Log.w(TAG, "JSONObject is null");
			return;
		}
					
		displayName = obj.getString("displayName");
					
			
	
	}
	
	public JSONObject toJsonObject()
	{
		JSONObject obj = new JSONObject();
				
		obj.put("displayName", displayName);
						
		return obj;
		
	}
}
